<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html>
<html lang="en">
<head>
<base href="<%=basePath%>">

<meta charset="utf-8" />
<title></title>
<meta name="description" content="overview & stats" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="static/css/bootstrap.min.css" rel="stylesheet" />
<link href="static/css/bootstrap-responsive.min.css" rel="stylesheet" />
<link rel="stylesheet" href="static/css/font-awesome.min.css" />
<link rel="stylesheet" href="static/css/ace.min.css" />
<link rel="stylesheet" href="static/css/ace-responsive.min.css" />
<link rel="stylesheet" href="static/css/ace-skins.min.css" />
<script type="text/javascript" src="static/js/jquery-1.7.2.js"></script>
<!--提示框-->
<script type="text/javascript" src="static/js/jquery.tips.js"></script>
<style type="text/css">
ul, ol, li {
	list-style-type: none;
}

[class*="span"]{
	float:none!important;
}

</style>
<style media="print" type="text/css">
	.Noprint 
	{
		display: none;
	}
</style>
</head>

<body>
	<div id="centerOfMainFrame">
		<div class="page-content">
				<div class="col-xs-12">
					<div class="form-horizontal well" style="margin: 10px;10px;10px;10px;">
					<c:if test="${pd == null }">
					<tr>
						<td>订单不存在</td>
					</tr>
					</c:if>
					<c:if test="${pd != null }">
						<!--订单信息开始-->
						<h3 class="lighter smaller">订单信息</h3>
						<ul class="list-unstyled spaced2">
							<li>
								<i class="icon-circle green"></i>
								订单编号：<strong>${pd.order_no}</strong>
							</li>
							<li>
								<i class="icon-circle green"></i>
								源订单编号：<strong>${pd.source_order_no}</strong>
							</li>
							<li>
								<i class="icon-circle green"></i>
								执行状态：
								<strong class="text-warning bigger-110 orange">
									<c:if test="${pd.audit_status == 1}">
										已执行退款
									</c:if>
									<c:if test="${pd.audit_status == null}">
										未执行退款
									</c:if>
								</strong>
							</li>
							<li>
								<i class="icon-circle green"></i>
								申请退款时间：<strong><fmt:formatDate value="${pd.apply_time}" pattern="yyyy/MM/dd HH:mm:ss" /></strong>
								<i class="icon-circle green"></i>
								退款时间：<strong><fmt:formatDate value="${pd.refund_pay_time}" pattern="yyyy/MM/dd HH:mm:ss" /></strong> 
							</li>
							<li>
								<i class="icon-circle green"></i>
								应退款金额：<strong> ￥<font color="red"><fmt:formatNumber type="number" value="${pd.refund_amount == null || pd.refund_amount == '' ? '0.00' : pd.refund_amount} " maxFractionDigits="2"/></font></strong>
							</li>
							<li>
								<i class="icon-circle green"></i>
								实退款金额：<strong> ￥<font color="red"><fmt:formatNumber type="number" value="${pd.refund_amount_pay == null || pd.refund_amount_pay == '' ? '0.00' : pd.refund_amount_pay} " maxFractionDigits="2"/></font></strong>
							</li>
							<li>
							<i class="icon-circle green"></i>
								申请退款原因：<strong>${pd.apply_reason}</strong> 
							</li>
							<li>
							<i class="icon-circle green"></i>
								退款审核意见：<strong>${pd.audit_reply}</strong> 
							</li>
						</ul>
						<hr>
						<!--消费信息结束-->
						<div class="center">
							<a class="btn btn-gray Noprint" onclick="top.Dialog.close();">关闭</a>
							<a class="btn btn-primary Noprint" onclick="window.print()">打印</a>
						</div>
					</c:if>
					</div>
				</div>
		</div>
	</div>
	<input type="hidden" id="m_id" name="m_id" value="${pd.m_id}" />
	<div id="centerOfMainFrame2" class="center" style="display: none">
		<br />
		<br />
		<br />
		<img src="static/images/jzx.gif" style="width: 50px;" /><br />
		<h4 class="lighter block green"></h4>
	</div>
</body>

<script type="text/javascript">
	$(top.hangge());

	//保存
	function save() {
		$("#Form").submit();
		$("#centerOfMainFrame").hide();
		$("#centerOfMainFrame2").show();
	}
</script>

</html>